/**
 * 
 */
package br.ufal.ic.sd.mom.cliente.exception;

import javax.swing.JOptionPane;

/**
 * @author keven lenisk almeida andrade
 * 
 */
public class ClienteException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2576886940321789249L;

	public ClienteException(String mensagem) {
		JOptionPane.showMessageDialog(null, mensagem);
	}

	public ClienteException(Exception excecao) {
		JOptionPane.showMessageDialog(null, excecao.getMessage());
	}

	public ClienteException(String mensagem, Exception excecao) {
		JOptionPane.showMessageDialog(null, excecao.getStackTrace().toString());
	}

}
